* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

button,
input {
    color: #3b3b3b;
    min-width: fit-content;
    min-height: fit-content;
}

/* main page with schedule */

.main__schedule {
    padding: 50px;
    height: 500px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-around;
}

#schedule__description {
    font-size: 1.2rem;
    max-height: auto;
    max-width: 100%;
    object-fit: scale-down;
}

#excel,
table,
th,
td {
    /* border: 1px solid black; */
    border-style: ridge;
}

/* schedule form */

.schedule__form__list {
    padding-bottom: 50px;
    height: auto;
}

.schedule__form__content {
    font-size: 1.2rem;
    padding: 2rem;
    height: 500px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-evenly;
}

.list__items {
    margin: 10;
}

.options__date {
    display: flex;
}

.date__field {
    font-size: 1.2rem;
    padding: 5px;
}

.reasons__field {
    font-size: 1.2rem;
    padding: 5px;
}

#schedule__button {
    font-size: 1.2rem;
    padding: 10px;
    border-radius: 25px;
}

/* login form, buttons */

.login__form__list {
    padding: 50px;
    height: 500px;
}

.login__form__content {
    font-size: 1.2rem;
    padding: 30px;
    height: 320px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-around;
}

.login__field {
    font-size: 1.2rem;
    padding: 5px;
}

#login__button {
    font-size: 1.2rem;
    padding: 10px;
    display: flex;
    justify-content: center;
    border-radius: 25px;
}

/* header */

.navbar {
    background: #cad7db;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 50px;
    padding-left: 50px;
}

#navbar__img {
    max-height: 100%;
    max-width: auto;
    object-fit: scale-down;
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.navbar__item {
    height: 80px;
}

.navbar__links {
    color: #3b3b3b;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
}

.navbar__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 4px;
    background: #f77062;
    color: #fff;
}

.navbar__links:hover {
    color: #f77062;
}

#mobile-menu {
    display: none;
}

/* далее 200 линий кода для маленьких экранов: */

@media screen and (max-width: 960px) {
    .navbar__container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .navbar__menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px;
        opacity: 1;
        /* transition: all 0.25 ease; */
        height: 50vh;
        z-index: -1;
        background: #cad7db;
    }

    .navbar__menu.active {
        background: #cad7db;
        top: 100%;
        opacity: 1;
        /* transition: all 0.25s ease; */
        z-index: 99;
        height: 50vh;
        font-size: 1.6rem;
    }

    #navbar__logo {
        padding-left: 25px;
    }

    .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        /* transition: all 0.3s ease-in-out; */
        background: #fff;
    }

    .navbar__item {
        width: 100%;
    }

    .navbar__links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
    }

    #mobile-menu {
        position: absolute;
        display: block;
        background-color: #ffffff0c;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
        z-index: 1000;
    }

    #mobile-menu:hover {
        background-color: #ffffff49
    }

    .navbar__btn {
        padding-bottom: 2rem;
    }

    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 80px;
        margin: 0;
    }

    .navbar__toggle .bar {
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* footer */

.footer__container {
    background-color: #cad7db;
    padding: 0rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#footer__logo {
    color: #3b3b3b;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
}

.footer__link--items {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin: 16px;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    font-size: 1.2rem;
}

.footer__link--items h2 {
    margin-bottom: 16px;
}

.footer__link--items>h2 {
    color: #3b3b3b;
}

.footer__link--items a {
    color: #3b3b3b;
    text-decoration: none;
    margin-bottom: 0.rem;
}

.footer__link--items a:hover {
    color: #f77062;
}

.website__rights {
    color: #3b3b3b;
}

@media screen and (max-width:820px) {
    .footer__link--items {
        justify-content: space-between;
    }
}

@media screen and (max-width:480px) {

    .footer__link--items {
        margin: 0;
        padding: 10px;
        width: 100%;
        flex-direction: column;
        justify-content: space-evenly;
        padding: 0 1rem;
        height: 150px;
    }
}

@media screen and (max-width:320px) {
    * {
        font-size: 14px;
    }

    #navbar__img {
        padding-left: 10px;
        content: url("images/лого\ ЦДМ_2020\ 10х10\ см-_центр.png")
    }
}